13. Short Message Service (SMS) Commands > 13.12 AT+CPMS   Preferred SMS message storage

13.12
AT+CPMS   Preferred SMS message storage
The write command selects memory storages <mem1>,<mem2>, <mem3> to be used for reading, writing, etc.
Syntax
Test Command  
Response(s)
+CPMS: (list of supported <mem1>s), (list of supported <mem2>s), (list of supported <mem3>s)
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 
GSM 07.05

Parameter Description
 
<used1>(num)
Number of messages currently in <mem1>
 
<used2>(num)
Number of messages currently in <mem2>
 
<used3>(num)
Number of messages currently in <mem3>
 
Number of messages storable in <mem1>
 
Number of messages storable in <mem2>
 
Number of messages storable in <mem3>

Notes
•
•
•
The <mem1>, <mem2> and <mem3> parameter will be stored in non-volatile memory.
•
The user should be aware that the setting ''MT'' involves ''ME'' and ''SM'', with ''ME'' being filled up first. If the ''ME'' storage is full, TC65 will proceed with the ''SM'' storage.
Incoming Class 1 short messages (ME specific) will be preferably stored to ''ME'' and may be transferred to the ''SM'' storage if ''ME'' is used up.
Incoming Class 2 messages (SIM specific) will be stored to the SIM card only, no matter whether or not there is free ''ME'' space. As a result, the ^SMGO: 2 indication (see AT^SMGO) may be presented without prior indi­cation of ^SMGO: 1. For more information regarding SIM and ME specific message classes refer to <dcs> and the following specifications: GSM 03.38 and 3GPP TS23038.
•
Multiplexer: In Multiplex mode or when the two physical serial interfaces are connected, the parameter <mem3> will be the same on all instances, but the settings of <mem1> and <mem2> may vary on each channel / interface. As a result, changes on parameter <mem1> and/or <mem2> befor activating the multiplexer or dif­ferences values for other instanes can result in not desired behaviours like different outputs for AT+CMGL and so on.
•
While <mem3> equals ''SM'' and <mem1> equals ''ME'' it is possible that, after deleting short messages from ''ME'', the freed space on ''ME'' is reclaimed for new incoming short messages, when there is no space left on the ''SM'' storage. As it is often the clients concern to have received short messages stored only to the SIM card, inconsistent settings should be generally avoided. This can be achieved simply by using the same parameter for all memory indices.
•
Users should be aware that when using this AT command quickly after SIM PIN authentication the SIM data may not yet be accessible, resulting in a short delay before the requested AT command response is returned. See Section 23.1, Restricted access to SIM data after SIM PIN authentication for further detail.
•
The indices <index> of the storage are dependent on the order selected with AT^SSMSS.